package com.fita.scheduler.service;

import com.fita.scheduler.entity.Order;

import java.util.List;

/**
 * @author Guangli Yan
 *
 */
public interface OrderService {


	/**
	 * 取消未支付超时订单
	 */
	void cancelUnpaidOrder(Order order);

	/**
	 * 核销订单
	 */
	void consumeOrder();

	/**
	 * 发送标记支付email
	 */
    void sendMarkPayEmail();

	/**
	 *
	 * @return
	 */
	List<Order> listNeedCancelUnpaidOrder();
}
